package com.example.layered_arch;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EnableJpaRepositories(basePackages = "com.example.layered_arch.example.repository") // 指定扫描 JPA 仓库的包
public class LayeredArchApplication {

	public static void main(String[] args) {
		SpringApplication.run(LayeredArchApplication.class, args);
	}
}
